package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.common.dto.PageDTO;
import com.leyou.item.dto.ReqSpuDTO;
import com.leyou.item.dto.SpuDTO;
import com.leyou.item.entity.Spu;

/**
 * @Author: SGS
 * @Date : 2020/11/17 16:42
 * @Version :
 */
public interface SpuService extends IService<Spu> {
    PageDTO<SpuDTO> querySpuByPage(ReqSpuDTO reqSpu);

    void saveGoods(SpuDTO spuDTO);

    void updateGoods(SpuDTO spuDTO);

    void updateSpuSaleable(Long id, Boolean saleable);

    SpuDTO querySpuSkuDetailById(Long id);
}
